-- GENERATED SPELL FOR [Sister of Celebrian] --


function spell0_11794(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(14516,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11794', 557, 1)
end

function spell1_11794(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(15795,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11794', 539, 1)
end

function Sorts_11794(pUnit, Event)
local choix_sorts_11794 = math.random(0, 1)
if choix_sorts_11794 == 0 then
pUnit:RegisterEvent('spell0_11794', 1, 1)
end
if choix_sorts_11794 == 1 then
pUnit:RegisterEvent('spell1_11794', 1, 1)
end
end

function mob11794_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11794', math.random(1500, 3000), 1)
end

function mob11794_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11794_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11794_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11794, 1, 'mob11794_Action')
RegisterUnitEvent(11794, 2, 'mob11794_Leave')
RegisterUnitEvent(11794, 3, 'mob11794_Kill')
RegisterUnitEvent(11794, 4, 'mob11794_Die')
